﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OxyPlot.Axes;

namespace Common.ViewModel
{
   public class ShiftedLinearAxis : LinearAxis
   {
      private double _Shift = 0.0;

      public double Shift
      {
         get
         {
            return _Shift;
         }
         set
         {
            _Shift = value;
         }
      }

      public override object GetValue(double x)
      {
         return base.GetValue(x + Shift);
      }
   }
}
